package cn.pupil.design;

import cn.pupil.design.impl.GuestVideoUserServiceImpl;
import cn.pupil.design.impl.OrdinaryVideoUserServiceImpl;
import cn.pupil.design.impl.VipVideoUserServiceImpl;

/**
 * @Description: 测试验证
 * @Author: pupil
 * @Date: 2024/06/25 下午 8:24
 */
public class ApiTest {
    public static void main(String[] args) {
        IVideoUserService guest = new GuestVideoUserServiceImpl();
        guest.definition();
        guest.advertisement();
        System.out.println("=================================");
        IVideoUserService ordinary= new OrdinaryVideoUserServiceImpl();
        ordinary.definition();
        ordinary.advertisement();
        System.out.println("=================================");
        IVideoUserService vip = new VipVideoUserServiceImpl();
        vip.definition();
        vip.advertisement();
    }
}
